package com.ldk.springboot2021.pojo;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class Dog {
    @Value("${dog.id}")
    private Integer id;
    @Value("${dog.dogName}")
    private String dogName;
}
